/**
 * @Title: 九宫格抽奖
 * @authors JSL
 * @date    2018-12-21
 */
@charset "UTF-8";

@media screen and (min-width:450px) {
  html {
    font-size: 30px
  }

  body {
    font-size: 12px
  }
}

.prizeInit-main {
  background-color: #ffc1a7;
  height: 100%;
  position: relative;
  padding-top: 30px;
  overflow: auto;
}

.prizeInit-history {
  width: 70px;
  padding-left: 10px;
  height: 24px;
  line-height: 24px;
  background: rgba(255, 255, 255, .5);
  border-radius: 20px 0px 0px 20px;
  font-size: 12px;
  color: #666666;
  text-align: center;
  position: absolute;
  right: 0;
  top: 20px;
  cursor: pointer;
}

.prizeInit-logo {
  display: block;
  margin: 0 auto;
  width: 85%;
}

.prizeInit-chance {
  text-align: center;
  height: 32px;
  font-size: 18px;
  color: #333333;
  font-weight: 500;
  margin-top: 10px;
}

.prizeInit-chance span {
  font-size: 20px;
  color: #ff4136;
  vertical-align: baseline;
  margin: 0 3px;
}

.prizeInit-getChance {
  width: 130px;
  margin: 0 auto;
  margin-top: 15px;
}

.prizeInit-new-box {
  width: 90%;
  height: 30px;
  line-height: 30px;
  background-color: #ffffff;
  border-radius: 30px;
  margin: 0 auto;
  margin-top: 15px;
  position: relative;
}

.prizeInit-new-box img.prizeInit-news {
  display: inline-block;
  width: 15px;
  height: 14px;
  position: absolute;
  left: 15px;
  top: 7px;
  z-index: 1;
  /* margin-left: 15px; */
}

.prizeInit-info-box {
  display: inline-block;
  margin-left: 35px;
  width: 88%;
  overflow: hidden;
}

.prizeInit-info-box img {
  display: inline-block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 5px;
}

.prizeInit-info-box span {
  margin-left: 5px;
  display: inline-block;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  line-height: 24px;
  font-size: 12px;
  color: #666666;
  vertical-align: middle;
  width: 80%;
  width: calc(100%-70px);
  width: -moz-calc(100%-70px);
  width: -webkit-calc(100%-70px);
}

/* 九宫格抽奖UI */
div.prizeInit-box {
  margin: 0 auto;
  margin-top: -30px;
  background: url('../img/prizeInit/cell.png');
  background-size: 100% 100%;
  /* width: 85%; */
  width: 12.75rem;
  height: 12.75rem;
  padding-left: 0.38rem;
  padding-top: 0.38rem;
}

.prizeInit-box li {
  width: 3.5rem;
  height: 3.5rem;
  float: left;
  margin: .37rem 0 0 .37rem;
  list-style: none;
  background: url('../img/prizeInit/prize.png');
  background-size: 100% 100%;
  overflow: hidden;
}

.prizeInit-box .btn {
  cursor: pointer;
  background: url('../img/prizeInit/init.png');
  background-size: 100% 100%;
}

.prizeInit-box .btn.active {
  background: url('../img/prizeInit/initOver.png');
  background-size: 100% 100%;
}

.prizeInit-box .cur {
  background: url('../img/prizeInit/cellChose.png');
  background-size: 100% 100%;
}

.prizeInit-title {
  color: #333333;
  width: 100%;
  text-align: center;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  line-height: 28px;
  margin-top: 5px;
}

.prizeInit-img {
  display: block;
  margin: 0 auto;
  width: 50px;
  height: 50px;
  overflow: hidden;
}

.prizeInit-info-box {
  height: 30px;
  overflow: hidden;
}

/**
 * @Title: 获取抽奖机会
 * @authors JSL
 * @date    2018-12-24
 */
.prizeChance-main {
  background: #fac2a6;
  height: 100%;
  overflow: auto;
  position: relative;
}

.prizeChance-logo {
  display: block;
  width: 100%;
}

.prizeChance-info {
  width: 92%;
  background: #ffffff;
  margin: 0 auto;
  border-radius: 10px;
  margin-top: 20px;
  padding-top: 15px;
}

.prizeChance-info-title {
  margin: 0 auto;
  font-size: 18px;
  color: #ff8e9c;
  text-align: center;
  background: url('../img/prizeInit/chanceBgd.png');
  background-size: 100% 100%;
  width: 120px;
  line-height: 38px;
  height: 38px;
}

.prizeChance-info-box {
  padding: 10px;
  overflow: hidden;
}

.prizeChance-info-box img {
  width: 80px;
  float: left;
  margin-right: 10px;
  vertical-align: middle;
}

.prizeChance-info-box div {
  padding-top: 10px;
  font-size: 14px;
  line-height: 20px;
  color: #666666;
}

.prizeChance-btn-box {
  padding-right: 25px;
  padding-bottom: 15px;
  text-align: right;
}

.prizeChance-btn-box span {
  display: inline-block;
  width: 75px;
  height: 26px;
  line-height: 26px;
  text-align: center;
  background-color: #ff8e9c;
  border-radius: 12px;
  font-size: 13px;
  color: #ffffff;
  cursor: pointer;
}

.height-20 {
  height: 20px;
  width: 100%;
}

.van-dialog__confirm .van-button__text {
  color: #ff8e9c;
}

/* 奖品弹窗 */
.prizeInit-prize-box, .prizeInit-close-box {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, .7);
  z-index: 99;
}

.prizeInit-prize-logo {
  width: 85%;
  margin: 0 auto;
  margin-top: 60px;
}

.prizeInit-prize-info {
  width: 70%;
  background: #ffffff;
  margin: 0 auto;
  margin-top: -50px;
  border-radius: 20px;
  text-align: center;
  font-size: 16px;
  line-height: 24px;
  color: #333333;
  overflow: hidden;
}

.prizeInit-prize-info img {
  width: 110px;
  min-height: 110px;
  display: inline-block;
  margin-top: 40px;
}

.prizeInit-text-info {
  margin-top: 10px;
  padding: 0 20px;
  margin-bottom: 8px;
  padding-bottom: 10px;
}

.prizeInit-text-info-sw {
  border-bottom: 1px solid #f3f3f3;
}

.prizeInit-address-btn {
  font-size: 14px;
  line-height: 26px;
  height: 28px;
  color: #ff8e9c;
  border: solid 1px #ff8e9c;
  text-align: center;
  border-radius: 15px;
  width: 120px;
  margin: 0 auto;
  cursor: pointer;
  margin-top: 15px;
}

.prizeInit-remark {
  font-size: 12px;
  color: #999999;
  line-height: 22px;
  margin-top: 10px;
  margin-bottom: 8px;
}

/* 中奖信息确认 or 无机会弹窗 */
.prizeInit-close-info {
  background: #ffffff;
  border-radius: 8px;
  width: 80%;
  position: relative;
  margin: 0 auto;
  margin-top: 140px;
  overflow: hidden;
}

.prizeInit-close-img {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
}

.prizeInit-close-confirm {
  margin: 10px auto;
  margin-top: 30px;
  width: 60px;
}

.prizeInit-close-text {
  text-align: center;
  font-size: 16px;
  color: #303030;
  letter-spacing: 0.13px;
  margin-bottom: 5px;
}

.prizeInit-close-remark-text {
  font-size: 14px;
  color: #999999;
  letter-spacing: 0.4px;
  margin-bottom: 40px;
  text-align: center;
}

.prizeInit-close-getChance {
  width: 150px;
  text-align: center;
  background: #FF8E9C;
  box-shadow: 0 2px 4px 0 rgba(255, 97, 131, 0.40);
  border-radius: 22px;
  color: #ffffff;
  font-size: 16px;
  line-height: 36px;
  letter-spacing: 0.11px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.prizeInit-close-btnBox {
  /* margin-bottom: 20px;
  margin-top: 40px; */
  margin-bottom: 26px;
  margin-top: 60px;
  text-align: center;
  font-size: 14px;
  color: #FFFFFF;
  letter-spacing: 0.11px;
}

.prizeInit-continue-btn {
  border: 1px solid #FF8E9C;
  border-radius: 22px;
  width: 120px;
  line-height: 34px;
  color: #FF8E9C;
  display: inline-block;
  margin-right: 10px;
}

.prizeInit-getChance-btn {
  display: inline-block;
  border-radius: 22px;
  width: 110px;
  line-height: 34px;
  background: #FF8E9C;
  box-shadow: 0 2px 4px 0 rgba(255, 97, 131, 0.40);
  border-radius: 22px;
}

.prizeInit-prizeClose {
  width: 40px;
  height: 40px;
  display: block;
  margin: 0 auto;
  margin-top: 50px;
}
